package com.ctesi;



import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;



@MapperScan("com.ctesi.mapper")
@MapperScan("com.ctesi.task.hubei.HuBeiTask")
@SpringBootApplication
@EnableScheduling   //启动定时任务的支持,表示当前类为配置类。
@Configuration
public class MagiCollectorApplication {


    public static void main(String[] args) {

        SpringApplication.run(MagiCollectorApplication.class, args);

    }
}


